Skip to content

fix(aws-strands): raise Python ceiling to support 3.14 - #2293

Merged
contextablemark merged 1 commit into
ag-ui-protocol:mainfrom
aviau:fix/aws-strands-support-python-3.14
Aug 4, 2026
Merged

fix(aws-strands): raise Python ceiling to support 3.14#2293
contextablemark merged 1 commit into
ag-ui-protocol:mainfrom
aviau:fix/aws-strands-support-python-3.14

Conversation

@aviau

@aviau aviau commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Problem

ag_ui_strands requires <3.14, blocking Python 3.14 even though nothing
in the dependency tree needs the cap (strands-agents, ag-ui-protocol,
fastapi have no upper bound; ag-ui-a2ui-toolkit allows <3.15).

Changes

  • pyproject.toml / examples/pyproject.toml: <3.14<3.15
  • examples/README.md: update supported range, drop the
    poetry env use python3.13 workaround
  • uv.lock: regenerated (adds cp314 wheels)

Verification (CPython 3.14.6)

uv sync, pytest (176 passed, 2 skipped), poetry install + import,
uv build — all clean.

@aviau
aviau requested a review from a team as a code owner August 1, 2026 19:10
@aviau
aviau force-pushed the fix/aws-strands-support-python-3.14 branch from a6edf84 to a07bcdd Compare August 4, 2026 16:36
@aviau

aviau commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

cc @contextablemark, this is very similar to the MR you just reviewed (#2285)

ag_ui_strands declares requires-python = ">=3.10, <3.14", which blocks
Python 3.14 even though nothing in the package or its dependency tree
needs the cap. All direct dependencies already support 3.14
(strands-agents, ag-ui-protocol, fastapi have no upper bound;
ag-ui-a2ui-toolkit is <3.15).

Verified on CPython 3.14.6:
- uv sync --python 3.14 --all-groups resolves and installs cleanly
- import ag_ui_strands loads all 20 public exports
- pytest tests/ - 176 passed, 2 skipped (same counts as the 3.10 floor
  verification in ag-ui-protocol#2285)
- poetry install in examples/ on 3.14 resolves and installs; the demo
  server module imports fully (only fails at model-construction time
  on a missing API key, unrelated to Python version)
- uv build - wheel reports Requires-Python: <3.15,>=3.10
@aviau
aviau force-pushed the fix/aws-strands-support-python-3.14 branch from a07bcdd to 3b24466 Compare August 4, 2026 16:40

@contextablemark contextablemark left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks, @aviau !

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Python Preview Packages

Version 0.0.0.dev1785861636 published to TestPyPI.

Warning: These packages are built from contributor code that may not yet have been vetted for correctness or security. Install at your own risk and do not use in production.

Install with uv

Add the TestPyPI index to your pyproject.toml:

[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
explicit = true

Then install the packages you need:

# Core SDK
uv add 'ag-ui-protocol==0.0.0.dev1785861636' --index testpypi

# Integrations (each already depends on the matching ag-ui-protocol preview)
uv add 'ag-ui-langgraph==0.0.0.dev1785861636' --index testpypi
uv add 'ag-ui-crewai==0.0.0.dev1785861636' --index testpypi
# NOTE: ag-ui-agent-spec depends on pyagentspec (git-only, not on PyPI).
# You will need to install pyagentspec separately from its git repo.
uv add 'ag-ui-agent-spec==0.0.0.dev1785861636' --index testpypi
uv add 'ag_ui_adk==0.0.0.dev1785861636' --index testpypi
uv add 'ag_ui_strands==0.0.0.dev1785861636' --index testpypi

Install with pip

pip install \
  --index-url https://test.pypi.org/simple/ \
  --extra-index-url https://pypi.org/simple/ \
  ag-ui-protocol==0.0.0.dev1785861636

Use --extra-index-url https://pypi.org/simple/ so pip can resolve
transitive dependencies (pydantic, fastapi, etc.) from real PyPI.


Commit: f27fb2e

@pkg-pr-new

pkg-pr-new Bot commented Aug 4, 2026

Copy link
Copy Markdown

Open in StackBlitz

@ag-ui/a2a-middleware

pnpm add https://pkg.pr.new/ag-ui-protocol/ag-ui/@ag-ui/a2a-middleware@2293

@ag-ui/a2ui-middleware

pnpm add https://pkg.pr.new/ag-ui-protocol/ag-ui/@ag-ui/a2ui-middleware@2293

@ag-ui/event-throttle-middleware

pnpm add https://pkg.pr.new/ag-ui-protocol/ag-ui/@ag-ui/event-throttle-middleware@2293

@ag-ui/mcp-apps-middleware

pnpm add https://pkg.pr.new/ag-ui-protocol/ag-ui/@ag-ui/mcp-apps-middleware@2293

@ag-ui/mcp-middleware

pnpm add https://pkg.pr.new/ag-ui-protocol/ag-ui/@ag-ui/mcp-middleware@2293

@ag-ui/a2a

pnpm add https://pkg.pr.new/ag-ui-protocol/ag-ui/@ag-ui/a2a@2293

@ag-ui/adk

pnpm add https://pkg.pr.new/ag-ui-protocol/ag-ui/@ag-ui/adk@2293

@ag-ui/ag2

pnpm add https://pkg.pr.new/ag-ui-protocol/ag-ui/@ag-ui/ag2@2293

@ag-ui/agno

pnpm add https://pkg.pr.new/ag-ui-protocol/ag-ui/@ag-ui/agno@2293

@ag-ui/aws-strands

pnpm add https://pkg.pr.new/ag-ui-protocol/ag-ui/@ag-ui/aws-strands@2293

@ag-ui/claude-agent-sdk

pnpm add https://pkg.pr.new/ag-ui-protocol/ag-ui/@ag-ui/claude-agent-sdk@2293

@ag-ui/claude-managed-agents

pnpm add https://pkg.pr.new/ag-ui-protocol/ag-ui/@ag-ui/claude-managed-agents@2293

@ag-ui/crewai

pnpm add https://pkg.pr.new/ag-ui-protocol/ag-ui/@ag-ui/crewai@2293

@ag-ui/langchain

pnpm add https://pkg.pr.new/ag-ui-protocol/ag-ui/@ag-ui/langchain@2293

@ag-ui/langgraph

pnpm add https://pkg.pr.new/ag-ui-protocol/ag-ui/@ag-ui/langgraph@2293

@ag-ui/llamaindex

pnpm add https://pkg.pr.new/ag-ui-protocol/ag-ui/@ag-ui/llamaindex@2293

@ag-ui/mastra

pnpm add https://pkg.pr.new/ag-ui-protocol/ag-ui/@ag-ui/mastra@2293

@ag-ui/pydantic-ai

pnpm add https://pkg.pr.new/ag-ui-protocol/ag-ui/@ag-ui/pydantic-ai@2293

@ag-ui/vercel-ai-sdk

pnpm add https://pkg.pr.new/ag-ui-protocol/ag-ui/@ag-ui/vercel-ai-sdk@2293

@ag-ui/watsonx

pnpm add https://pkg.pr.new/ag-ui-protocol/ag-ui/@ag-ui/watsonx@2293

@ag-ui/a2ui-toolkit

pnpm add https://pkg.pr.new/ag-ui-protocol/ag-ui/@ag-ui/a2ui-toolkit@2293

create-ag-ui-app

pnpm add https://pkg.pr.new/ag-ui-protocol/ag-ui/create-ag-ui-app@2293

@ag-ui/client

pnpm add https://pkg.pr.new/ag-ui-protocol/ag-ui/@ag-ui/client@2293

@ag-ui/core

pnpm add https://pkg.pr.new/ag-ui-protocol/ag-ui/@ag-ui/core@2293

@ag-ui/encoder

pnpm add https://pkg.pr.new/ag-ui-protocol/ag-ui/@ag-ui/encoder@2293

@ag-ui/proto

pnpm add https://pkg.pr.new/ag-ui-protocol/ag-ui/@ag-ui/proto@2293

commit: 3b24466

@contextablemark
contextablemark merged commit c4c5c40 into ag-ui-protocol:main Aug 4, 2026
42 checks passed
@aviau
aviau deleted the fix/aws-strands-support-python-3.14 branch August 5, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants